package com.auemall.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.auemall.po.TTicketPO;
import com.auemall.po.TTicketPOExample;
import com.auemall.vo.TicketVO;

public interface TTicketPOMapper {
    int countByExample(TTicketPOExample example);

    int deleteByExample(TTicketPOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TTicketPO record);

    int insertSelective(TTicketPO record);

    List<TTicketPO> selectByExample(TTicketPOExample example);
    
    TTicketPO selectByPrimaryKey(Integer id);
    
    List<TTicketPO> selectByBuyerName(@Param(value="buyerName") String buyerName);

    int updateByExampleSelective(@Param("record") TTicketPO record, @Param("example") TTicketPOExample example);

    int updateByExample(@Param("record") TTicketPO record, @Param("example") TTicketPOExample example);

    int updateByPrimaryKeySelective(TTicketPO record);

    int updateByPrimaryKey(TTicketPO record);
}